lvgl_demos_src = [
  'benchmark/assets/img_benchmark_avatar.c',
  'benchmark/assets/img_benchmark_lvgl_logo_argb.c',
  'benchmark/assets/img_benchmark_lvgl_logo_rgb.c',
  'benchmark/assets/lv_font_benchmark_montserrat_12_aligned.c',
  'benchmark/assets/lv_font_benchmark_montserrat_14_aligned.c',
  'benchmark/assets/lv_font_benchmark_montserrat_16_aligned.c',
  'benchmark/assets/lv_font_benchmark_montserrat_18_aligned.c',
  'benchmark/assets/lv_font_benchmark_montserrat_20_aligned.c',
  'benchmark/assets/lv_font_benchmark_montserrat_24_aligned.c',
  'benchmark/assets/lv_font_benchmark_montserrat_26_aligned.c',
  'benchmark/lv_demo_benchmark.c',
  'keypad_encoder/lv_demo_keypad_encoder.c',
  'lv_demos.c',
  'music/assets/img_lv_demo_music_btn_corner_large.c',
  'music/assets/img_lv_demo_music_btn_list_pause.c',
  'music/assets/img_lv_demo_music_btn_list_pause_large.c',
  'music/assets/img_lv_demo_music_btn_list_play.c',
  'music/assets/img_lv_demo_music_btn_list_play_large.c',
  'music/assets/img_lv_demo_music_btn_loop.c',
  'music/assets/img_lv_demo_music_btn_loop_large.c',
  'music/assets/img_lv_demo_music_btn_next.c',
  'music/assets/img_lv_demo_music_btn_next_large.c',
  'music/assets/img_lv_demo_music_btn_pause.c',
  'music/assets/img_lv_demo_music_btn_pause_large.c',
  'music/assets/img_lv_demo_music_btn_play.c',
  'music/assets/img_lv_demo_music_btn_play_large.c',
  'music/assets/img_lv_demo_music_btn_prev.c',
  'music/assets/img_lv_demo_music_btn_prev_large.c',
  'music/assets/img_lv_demo_music_btn_rnd.c',
  'music/assets/img_lv_demo_music_btn_rnd_large.c',
  'music/assets/img_lv_demo_music_corner_left.c',
  'music/assets/img_lv_demo_music_corner_left_large.c',
  'music/assets/img_lv_demo_music_corner_right.c',
  'music/assets/img_lv_demo_music_corner_right_large.c',
  'music/assets/img_lv_demo_music_cover_1.c',
  'music/assets/img_lv_demo_music_cover_1_large.c',
  'music/assets/img_lv_demo_music_cover_2.c',
  'music/assets/img_lv_demo_music_cover_2_large.c',
  'music/assets/img_lv_demo_music_cover_3.c',
  'music/assets/img_lv_demo_music_cover_3_large.c',
  'music/assets/img_lv_demo_music_icon_1.c',
  'music/assets/img_lv_demo_music_icon_1_large.c',
  'music/assets/img_lv_demo_music_icon_2.c',
  'music/assets/img_lv_demo_music_icon_2_large.c',
  'music/assets/img_lv_demo_music_icon_3.c',
  'music/assets/img_lv_demo_music_icon_3_large.c',
  'music/assets/img_lv_demo_music_icon_4.c',
  'music/assets/img_lv_demo_music_icon_4_large.c',
  'music/assets/img_lv_demo_music_list_border.c',
  'music/assets/img_lv_demo_music_list_border_large.c',
  'music/assets/img_lv_demo_music_logo.c',
  'music/assets/img_lv_demo_music_slider_knob.c',
  'music/assets/img_lv_demo_music_slider_knob_large.c',
  'music/assets/img_lv_demo_music_wave_bottom.c',
  'music/assets/img_lv_demo_music_wave_bottom_large.c',
  'music/assets/img_lv_demo_music_wave_top.c',
  'music/assets/img_lv_demo_music_wave_top_large.c',
  'music/lv_demo_music.c',
  'music/lv_demo_music_list.c',
  'music/lv_demo_music_main.c',
  'render/assets/img_render_arc_bg.c',
  'render/assets/img_render_lvgl_logo_argb8888.c',
  'render/assets/img_render_lvgl_logo_argb8888_premultiplied.c',
  'render/assets/img_render_lvgl_logo_i1.c',
  'render/assets/img_render_lvgl_logo_l8.c',
  'render/assets/img_render_lvgl_logo_rgb565.c',
  'render/assets/img_render_lvgl_logo_rgb565_swapped.c',
  'render/assets/img_render_lvgl_logo_rgb565a8.c',
  'render/assets/img_render_lvgl_logo_rgb888.c',
  'render/assets/img_render_lvgl_logo_xrgb8888.c',
  'render/lv_demo_render.c',
  'stress/lv_demo_stress.c',
  'vector_graphic/assets/img_demo_vector_avatar.c',
  'vector_graphic/lv_demo_vector_graphic.c',
  'widgets/assets/img_clothes.c',
  'widgets/assets/img_demo_widgets_avatar.c',
  'widgets/assets/img_demo_widgets_needle.c',
  'widgets/assets/img_lvgl_logo.c',
  'widgets/lv_demo_widgets.c',
]

lvgl_demos = library(
  'lvgl_demos',
  c_args: cfg,
  include_directories: include_directories('../src'),
  link_with: lvgl,
  sources: lvgl_demos_src,
)

lvgl_demos_dep = declare_dependency(
  compile_args: cfg,
  include_directories: include_directories('../src', '.'),
  link_with: lvgl_demos,
)
